Psilocybin, the psychedelic component of magic mushrooms, may be effective for some patients for whom other antidepressants haven’t worked.