I’m pretty sure that could be schizophrenia, see schizophrenia is a type of mental disorder that leads a person to breakdown in the relation between thoughts, emotion and behavior leading to faulty perception , and inappropriate actions or feelings pretty much a withdrawal from reality they don’t know what’s real and what isn’t