Building an AND gate using switch-diode pairs and two power supplies
As long as one of your switches is open (means here to be connected to ground), the connected diode will pull PR1 to ground+0.7V Diode forward voltage. Only if both switches are closed you'll have the 6V on PR1.