Is it the value of the boolean or is it something else in the expression? Here's a tip: to test whether or not something can work with a T/F condition, create your own static condition such as 2=2. Works in code, should work in cf, methinks. If it works it would seem that in this case you'd know the issue is the visibility of the variable OR the value of the variable. Might be better to have a field on the form you can refer to, but I suspect that would have to be bound (I'm assuming you're working in a cf or datasheet).
Other thing to investigate is if there is a syntax for returning module level variable value because I thought cf conditions like that work with records, and your variable is not a record.
EDIT - If the issue is visibility and there's no syntax for referring to a mod level variable (or at least one that would work with cf), you probably could do this in code where you will be able to grab the boolean value.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.