Olanzapine is not a sleeping pill and should not be prescribed for sleep disturbances. The medicine is a potent antipsychotic drug that is used for the treatment of schizophrenia and bipolar disorder. Most patients report difficulties in withdrawing from the drug as it is highly addictive and habit-forming.