XOR - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

The XOR operator, or Exclusive or operator, is like OR, but it excludes the case where both are true. In other words, the exclusive or is true if one input is true, or the other input is true, but not both.

Truth table

A B A xor B
false false false
false true true
true false true
true true false