The brother of a Long Island man accused of murdering his wife was arrested yesterday for causing a fracas while trying to visit him in jail, authorities said.

Tommy Walsh, 26, went to Nassau University Medical Center, where his brother William had been undergoing a psychiatric evaluation following his arrest for allegedly strangling his wife, Leah, last week.

A hospital official told Tommy Walsh that the facility’s prison wing was off limits to visitors. In any event, his brother had been sent back to the Nassau County Jail.

Tommy went to the East Meadow jail and confronted officers there, according to Nassau police.

“He says he wants to go see his brother, but he’s told there’s no visiting on Monday,” Detective Lt. Kevin Smith said.

Tommy refused to leave and “went up a ramp and shoved an officer,” Smith said.

Cops had to use pepper spray, and it took three officers to subdue the husky brother, according to Smith.

Meanwhile, a hearing will be held tomorrow to determine whether William Walsh qualifies for a court-appointed lawyer.

The stockbroker trainee is accused of murdering his wife, a special-ed teacher, and staging an elaborate ruse to make it appear she was a victim of roadside violence.

His current attorney, Karl Seman, said yesterday that his client has no assets and that Walsh and his family are too poor to pay legal fees.

Leah Walsh once worked as an intern for shock jock Howard Stern, who said on his Sirius radio show yesterday that he listened to an “intern beauty pageant” he staged in 1999 and said she claimed she never had luck with guys.