When you have a boolean variant property (i.e. variant with true/false values), click the nut icon to assign a variable for it, and click + to create a new variable, the popup will create a string variable and you can’t change that to boolean.
The popup should default to creating a boolean variable for a boolean property.
To assign a boolean variable you have to first create a boolean variable and then assign that.