Eep, still haven't done this. Give me a moment here :hmm:
No, it doesn't actually affect the AI's behaviour; lights only indicate that the ships are searching for you, or that planes are attacking you. In terms of game mechanics, they really have no effect on the unit behaviour.
On the other hand, they sure do a good job at confusing a human captain