A man charged with kidnapping a Massachusetts woman who disappeared over the weekend displayed "bizarre" behavior in court before his first appearance on Wednesday.

Victor Pena, 38, of Charlestown, Massachusetts, sobbed, sucked his thumb, and prayed inside a Charlestown courthouse during an initial mental competency evaluation, The Boston Globe reported.

With a court psychologist, Pena — accused of kidnapping the 23-year-old on Saturday night — also reportedly said he heard voices and claimed he had been forced to snort cocaine in his past.

The psychologist told the court that Pena may have been “exaggerating some of [the] symptoms” of possible mental impairment, and said he "did not appear to know why he was in court today." His brother, Jose Pena, told the Globe that Pena is "a little bit mentally challenged."

MASSACHUSETTS WOMAN REPORTED MISSING AFTER LEAVING BOSTON BAR IS FOUND; SUSPECT CHARGED WITH KIDNAPPING

Pena was arrested Tuesday afternoon and charged with kidnapping after police found the woman, who had been missing since Saturday, "crying with a horrified look on her face" inside his apartment.

“When we made entry she was observed standing in the apartment near the suspect," Boston Police Commissioner William Gross told reporters after Pena's arrest. "We eventually separated them and the suspect was apprehended."

The woman had left Hennessy's bar in Boston around 11 p.m. on Saturday.

Security footage caught her around 11:40 p.m. with "two unknown males," one of whom, later identified as Pena, appeared to be guiding her and placing his arm around her.

The two were later spotted walking near a train station in Charlestown, and her phone was recorded as being in a nearby housing development.

On Tuesday, three days after she was last seen by her twin sister and friends, she was discovered in Pena's apartment. Pena allegedly resisted law enforcement "violently" before he was arrested.

CLICK HERE TO GET THE FOX NEWS APP

According to the Globe, she old investigators that Pena took her phone and wouldn't let her leave his apartment "the entire time she was held there."

Pena, who will be held without bail and will be sent to a state hospital for a 20-day competency evaluation, is next scheduled to appear in court Feb. 11.