I know a memoir can be non-fiction can a drama and a poem be non fiction too?

2 answers

Yes, drama (plays) and poems can be either fiction or non-fiction.
A memoir, by definition, is non-fiction. It is a person's memory of an event or events in one's life. A play or a poem may also be based on someone's memories, but is usually considered what it is, a drama (play or screenplay) or a poem - separate categories. Dialogue in a drama is usually invented (unless it is a transcript of actual court records or a tape-recorded conversation, etc.). The author may be trying to make it "true", but usually has to imagine the words spoken.