I think that if your insomnia is contributing to desires for SH, it is already at the point of being urgent. Please stay safe
For me, one night of zero sleep is already concerning to the point of a PRN or vigilance to get sleep. Two nights of zero sleep definitely require extra PRNs and as many sleep inducing methods as possible. However, I do sometimes just have reduced sleep days (like 3 to 5 hours per night only). I still work the above, but I maybe give it a bit longer before being that worried or contacting my psychiatrist.