Let's assume that when the path is short, the state is called state 1 and when it is open, the state is called state 0.
![]()
Depending up on whether the path is short or not in the circuit, the following table can be obtained:
| A | B | Out |
| 1 | 1 | 0 |
| 1 | 0 | 0 |
| 0 | 1 | 0 |
| 0 | 0 | 1 |