Have a doctor perform a sleep study examination.
For anyone with circadian issues, the Circadian Sleep Disorders Network is a patient advocacy group that has some helpful info:
https://www.circadiansleepdisorders.org
There is also an independent mailing list mentioned on that site for people with circadian disorders. I'm not sure what similar resouces are available for just insomnia.
Edit: Oh, there is also "Cognitive Behavioral Therapy for Insomnia", which is a structured approach to "sleep hygiene".
Edit2: My overall impression with insomnia is that things like racing thoughts or caffine keeping you awake can be treated but if you deal with all of that stuff and still can't sleep, there is no treatment (and often circadian issues are involved).