The 2024 PHB doesn't give any penalties for not sleeping, except that you're not going to gain the benefits of a long rest.
edit: I see other folk giving house rule answers, and from Xanathars, etc. There are a number of ways to handle not sleeping in 5e! I think Xanathar's is a good one and Level Up A5E has its own, but it seems OP was asking strictly about the 2024 rules. So that answer is "no, it is not specified."