The man was also carrying two bottles of lighter fluid and two extended butane lighters, Mr. Miller said. The man was uninjured and the church was undamaged.
“The individual was stopped as he tried to come into the cathedral,” the Archdiocese of New York said in a statement. The man, the statement continued, “was turned over to the police. Nothing happened inside the cathedral.”
Charges were not immediately filed against the man, whose name the police did not release. “He is known to police,” Mr. Miller said, without elaborating.
The episode drew a heavy police presence. About a dozen officers gathered on the corner of Fifth Avenue and 50th Street in Midtown, while another officer directed traffic at the corner. Another half-dozen officers stood outside the entrance to the church.
The encounter happened two days after a fire tore through the Notre-Dame cathedral in Paris, one of that city’s most famous monuments. Investigators are still looking into the specific cause of that fire, though it was believed to be accidental.