Insomnia is a chronic condition. Meaning it happens continuously to the point where it affects your everyday life.
Saying you have insomnia because you can’t sleep for one night, is exactly like saying you have depression because you’re upset for one day.
Know the difference. Please.