Logical XOR truth table
Appearance
XOR is similar to logical OR except either side can be true (1) for the result to evaluate to true (1) but they must both not be true (1) - in this case the result is false (0). In other words it's exclusively one or the other but not both.
| XOR | 0 | 1 |
|---|---|---|
| 0 | 0 | 1 |
| 1 | 1 | 0 |