What I want to do is check if the Digital pin is High and keep it high till the temperature falls below the set temperature.
Why do you need to test the state of the pin ? You set its state so you know what it is already. It will not go LOW unless/until your program sets it LOW.