John Allen Rubio is back in Cameron County. Jail records show he was booked into the county jail Friday.

Rubio, 46, has been on Texas death row since his 2010 retrial. He was convicted of killing three young children in Brownsville in 2003. The state plans to execute him on Nov. 12.

His lawyers say he is too sick in the mind to be put to death. He has a court hearing on that on Oct. 7, county records show.

The killings happened on March 11, 2003. Police found three children dead in a Brownsville apartment. A 3-year-old girl. A 1-year-old boy. A 2-month-old baby girl.

At the time, Rubio lived with Angela Camacho. She was his common-law wife. Police said the two of them cut off the kids' heads.

Rubio's brother found the bodies. He flagged down police.

Investigators say the couple killed the children because they could not pay to care for them. Rubio has also said he believed the children were possessed by his dead grandmother.

Camacho took a plea deal in 2005. She got three life sentences.

Rubio's first trial was in 2003. A jury found him guilty and sentenced him to death.

In 2007, the Texas Court of Criminal Appeals threw out that verdict. That is the top court in Texas for criminal cases.

Rubio was tried again in 2010. His lawyer said too many people in Cameron County knew about the case. A judge moved the trial to Hidalgo County. Rubio again pleaded not guilty by reason of insanity. A Hidalgo County jury found him guilty of capital murder. He was sentenced to death again.

The U.S. Supreme Court turned down his case in 2013. It turned him down again earlier this year.

"This case has been tried twice. He has twice been convicted of death. He has twice been up to the Supreme Court," Cameron County District Attorney Luis V. Saenz has said.

The Nov. 12 date was set in February. Saenz has said the timeline was set up to stop more delays.

Rubio has spent 23 years fighting his death sentence.

On April 30, Rubio's lawyers filed a 44-page motion. It asks the court to stop the execution. It also asks for more tests on his mind.

The motion says Rubio lacks a "rational understanding" of his death sentence. That is a key test the law sets before an execution can go on.

The motion lays out a belief his lawyers say Rubio has held all his life.

"Rubio suffers from a lifelong and persistent delusion that he is caught in a God-versus-Satan struggle for the world and he continues to believe that his planned execution is really Satan's attempt to destroy him for aligning himself with God," the motion reads.

The filing goes back to his youth. It says he had hallucinations as a young child. It says many experts have placed him on the schizophrenia spectrum. It says he got care for a severe mental illness between his trials. He spent time in a psych ward.

His lawyers want two experts to check him. They also want a full hearing to prove he is not fit to be executed.

Prosecutors have filed a response. It is sealed. The public cannot read it.

Saenz has said he expects to win.

"I expect to prevail at that hearing, but that means that they're going to appeal, and again here comes the delay. It's just very frustrating," Saenz has said.

The state asked for the November date to keep the case on track. The defense wants the court to halt the execution.

For now, Rubio is in the Cameron County jail.