Grafton Thomas is led from Ramapo Town Hall in Ramapo, N.Y. following his arraignment. Picture: Seth Harrison/The Journal News via AP

White Plains – More than a month before he charged into Hanukkah celebrations with a machete, prosecutors say, Grafton Thomas used his cellphone to search the Internet: “Why did Hitler hate the Jews.”

That query – entered three more times over the following weeks – was just one red flag authorities found when they combed Thomas’ belongings, officials said. There were more online searches, for temples “near me.” There were journals with the words “Nazi Culture” on the same page as a Swastika and a Star of David.

The discoveries detailed by an FBI agent would bring Thomas to court Monday on federal hate-crime charges, a day after he was charged with attempted murder in the stabbing that wounded five people at a rabbi’s home in New York’s Rockland County. The 38-year-old defendant answered routine questions, telling a judge he was “coherent,” before shuffling away slowly, feet shackled, to be held without bail.

Thomas’ family has said the suspect has “no known history of anti-Semitism” and attributed any responsibility in Saturday’s rampage in the New York suburb of Monsey to “profound mental illness.” But the federal criminal complaint points to Thomas’ handwritten journals and online history as evidence that the man sought to target Jews in an assault that quickly renewed fears of rising anti-Semitic violence.

Thomas, a resident of Greenwood Lake, New York, did not enter a plea for the latest charges at his court appearance in White Plains, where he faces five counts of obstructing the free exercise of religious beliefs by attempting to kill with a dangerous weapon and causing injuries. He pleaded not guilty on Sunday to five state counts of attempted murder and one count of burglary.