Digital pin not seeing high Input!

My PIR sensor module outputs a a digital High (3.6V) when motion is detected. I attached My PIR output pin to Pin 2(INPUT) and told my arduino nano to do long LED (pin 13) blinks when motion is detected and quick LED blinks when there is no motion. However my nano only does short LED blinks, meaning it doesn't see the High from the PIR.

I tested my PIR with a multimeter and it is going high. I tried a different nano, and I tried directly attached 5V to my pin 2, but no high pin is being sensed, and I also tried a 10k pulldown resistor. With a 10K pulldown resistor my input voltage from the PIR stays at .259V constantly and then goes to 2.7V when the PIR senses motion. The problem must be with my code but I cannot figure out why my nano doesn't see the high pin. Any help or advice appreciated!

My full code is:

int PIR = 2; // The PIR is conencted to pin 2 int LED = 13; //The LED is connected to pin 13

void setup() { pinMode(LED, OUTPUT); pinMode(PIR, INPUT); }

void loop() {

// digitalWrite(13,LOW); digitalRead(PIR);

if (PIR == HIGH) { digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) delay(5000); // wait for a second digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW delay(5000); }

else { digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) delay(250); // wait for a second digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW delay(250); } }

digitalRead(PIR);

You need something like: Val = digitalRead(PIR); if (Val == HIGH)

OR

if ( digitalRead(PIR) == HIGH)

.

THANK-YOU!!! :)