Logical Expression In Comsol, This blog post includes 3 examples of how to use the Activation node.