Name the logic gate equivalent to the diagram attached

Name the logic gate equivalent to the diagram attached

Let's assume that when the path is short, the state is called state and when it is open, the state is called state .
Depending up on whether the path is short or not in the circuit, the following table can be obtained:
The above table is similar to the truth table corresponding to gate. Hence, the circuit indicates a logic gate.
Asked in: JEE Main 2023 (06 Apr Shift 1)