Now I'm confused - which pin is the PIR physically wired to?
Analogue pin 2 or digital pin 2?
I also don't understand why you're reading the state of the TRANSISTOR output.
Forget the transistor for now, and do some serial debug prints based on the value of digital pin 2.
Enable the internal pull-ups:
pinMode (SENSOR, INPUT);
digitalWrite (SENSOR, HIGH);