Are you sure he's feeling ok?? Sleeping/laying down in the litter box is not normally associated with feeling well in cats.

I hope he's ok.

Hugs to Michael.