Xor

True if exactly one of two values is true.

Node id logic/xor

The Xor node (exclusive or) outputs true if one of a and b is true and the other false, and false if both are true or both are false.

Inputs

NameTypeDefaultNotes
abooleanfalse
bbooleanfalse

Outputs

NameTypeNotes
resultboolean

Behaviour

  • Defaults. Both inputs default to false.
  • Two inputs only. Unlike And and Or, Xor has exactly two inputs, and evaluates both.
  • Toggling. Xor with b true inverts a, with b false keeps it.
© 2026 Wirepaint