PIR sensor

You have to post a link to the PIR sensors as already requested.

This does not work without an external pull up resistor if they are open collector types :

 pinMode(pirsensor, INPUT);    
 pinMode(pirsensor2, INPUT);

Also, with some cheap sensors, it can also depend on what sort of load these are switching. A large load being switched off by one sensor can cause enough electrical noise to trigger the other one on.