Hypnagogic and hypnopompic hallucinations: pathological phenomena?

Hypnagogic and hypnopompic hallucinations: pathological phenomena?