Having hypnagogic hallucinations is common; completely healthy individuals can have them. So, no. Hypnagogia is not a mental illness, nor is it a symptom of any mental illness or a psychological disorder.
While it is true that people who have certain sleep disorders, such as insomnia or narcolepsy, experience hypnagogic hallucinations more commonly, having these hallucinations alone does not mandate any diagnosis.