Code problem with LED

Thanks for the reply

So if the pirState is only HIGH or Low and not a logic value. How would I change the if statement to reflect that?