Hit the OPEN IN EDITOR button and change the isDay variable to true to see what happens.
isDay
true
Make sure your code reads var lightsOn = !isDay;.
var lightsOn = !isDay;