When temperature is under 23 degrees heater is on. Heater works from 23 degrees to 25 degrees
In other words, when the temperature is greater than 23 and the temperature is less than 25, turn the heater on.
Pay attention to two things in that statement. The first is the order of tests required. The second is the operator to use in each each part of the test.