Psychosis is a symptom of schizophrenia, which is a thought disorder according to psychiatry.
Psychosis can also be caused by a lack of sleep (like not sleeping for days) and in this case sleep can end the psychosis.
Which is to say that schizophrenia and psychosis have an intersecting relationship.