El Chapo Guzman Psych Exam OK'd

In this photo provided U.S. law enforcement, authorities escort Joaquin "El Chapo" Guzman from a plane to a waiting caravan of SUVs at Long Island MacArthur Airport on Thursday, Jan. 19, 2017, in Ronkonkoma, N.Y. (U.S. law enforcement via AP)

Drug kingpin Joaquin "El Chapo" Guzman will undergo a psych exam after the appeal was OK'd by a Brooklyn federal judge on Wednesday.

A psychologist will evaluate the infamous Mexican drug lord next week after his lawyer argued that Guzman's memory and overall mental state had detoriated during his time in solitary confinement, CNN reported.

Addressing reporters after a pretrial hearing on Wednesday, Guzman's attorney, Eduardo Balarezo, said, "I'm alleging that the conditions that he's been under for the last nine months or so are affecting his memory, affecting his ability to relay information that I need as his lawyer to defend him," CNN noted.

According to the defense, Guzman had been suffering from auditory hallucinations and depression, and was battling with his memory.

"At this time, counsel does not allege that Mr. Guzmán is not competent," court documents state, according to Newsweek. "Rather, counsel suggests that Mr. Guzman's condition may eventually result in a finding of incompetence if it is not addressed soon."