Insomnia is rarely an isolated medical or mental illness but rather a symptom of another illness to be investigated by a person and their medical doctors. In other people, insomnia can be a result of a person's lifestyle or work schedule.