## Is One True (vuo.logic.isOneTrue)

Outputs *true* if exactly one value is *true*.

If there are no values, outputs *false*.

This node is useful for making something happen if exactly one condition is met.

**Keywords**: *0*, *1*, *^*, *boolean*, *check*, *condition*, *false*, *gate*, *test*, *xor*

### Example composition:

- Is Mouse within Intersecting Rectangles: Checks if the mouse cursor is within each of two rectangles, and uses logic operations to determine if it's in neither, both, at least one, and/or exactly one.

Back to vuo.logic node set documentation.