Mine do sleep at night and since i got nightlights i can see that they're floating close to the surface.
that is, with their heads upwards and their tail down in a 45o angle.
they seem to stay "straight" though.
I mean the top fin will be pointing upwards and they maintain equilibrium, even in the dark.
Goldfish and carp will lose that equilibrium in the dark, opposite to oscars and will also float in a sideways angle.
If he's not floating sideways, i think he may be sleeping.
And welcome ot the forum, btw.
Keep us posted what happens in the morning when lights are back on.