Advanced XOR Gate (3 Inputs, 1-Hot)