I thought I'd share something I learned form a coworker today.
This is how you have a "Yes/No" conditional in Revit.
if ([condition = X], 1 2)
Notice the screenshot below. I have multiple visibility Yes/No values and I wanted to control these parametrically. So the checkbox (Yes/No) is controlled by the associativity of the Nominal Diameter parameter. This is for a basket y-strainer in elevation view.