# Xor Symbol

Xor is the boolean operator that describes the operation of exclusive or. For example, when a waiter asks whether you want orange juice or coffee, they are really asking an exclusive or: you can have one or the other, but not both.

A | B | A⊻B |
---|---|---|

0 | 0 | 0 |

0 | 1 | 1 |

1 | 0 | 1 |

1 | 1 | 0 |