These circuits don't run on digital logic, but are instead based on physically connecting and disconnecting an electrical connection between the live and neutral wires. This means you have to work out how to use the two switches to produce a connected circuit when only one but not both switch is in the up position.
Digital logic works on lower voltage than mains voltage, and you'd need to maintain far more wires to hook up the connection (since the actual gates themselves need both power supply and ground drain wires which are separate for the inputs). Possibly also a relay to actually drive the higher voltage/amperage for the light bulb.