The Expression block allows you to establish a mathematical expression.

By double-clicking on the Expression block, you can write a mathematical expression (e.g. x > 3 or y == 5).

Then simply connect the point Expression value to the test point of the Condition or Switch block.