Not sure, I haven't ever seen The Mentalist.
In Perception, the professor played by Eric McCormack is schizophrenic, and he has interactions with people all the time who may or may not actually be there. He helps a former student, now an FBI agent, solve crimes.
_________________________
If ignorance is bliss, there ought to be more happy people.