Where are you not allowed to go trick or treating as a ghost?
Harlem, New York.
This is a dark joke that plays on the stereotype of ghosts not being welcome in Harlem. The humor comes from the unexpected and slightly morbid association.