House Speaker Robert A. DeLeo says he’s “deeply troubled” by a Salem Superior Court judge who told a heroin dealer if he were a “citizen” he would be sent off to jail.

“I expect the (Supreme Judicial Court) will determine whether the judge appropriately exercised his discretion,” DeLeo said in a statement. “I look forward to a timely report by the SJC on the judge’s conduct.”

It’s the latest criticism of Judge Timothy Q. Feeley’s decision last month to sentence Manuel Soto-Vittini to two years’ probation for dealing 40 bags of heroin.

An SJC spokeswoman would not say whether the judge is being investigated. “We appreciate the speaker’s confidence in the judiciary in addressing judicial matters,” Jennifer Donohue said.

Transcripts of a Feb. 28 pre-sentencing hearing in Soto-Vittini’s case show Feeley considering the probationary sentence for the 33-year-old Dominican green card holder.

“If he was a citizen, I’d send him — I’d probably do House time, but I’d send him to the House. I would,” Feeley said at a lobby conference.

The comments came in the midst of a back and forth with Soto-Vittini’s defense attorney Eduardo Masferrer about how a jail sentence would make it more likely, as Feeley said, for Soto-Vittini “to be found, discovered, and interviewed by ICE officials.”

But an Immigration and Customs Enforcement official told the Herald last night Soto-Vittini will not be deported because his conviction is “just under the mandatory legal threshold” to trigger his removal.

Soto-Vittini was arrested June 11, 2015, in Salem, where he was found with heroin, cocaine and cash, and charged with possession with intent to distribute. Prosecutors asked for one to three years in state prison to be followed by probation.

The two years of probation he was given — for a street-level heroin dealer in the midst of an opioid epidemic — sparked outrage, including calls for Feeley to be impeached.

Feeley said in court that day the case was “basically a money crime without an addiction aspect.”

Feeley also came under fire recently for lowering the bail of a man who weeks later was charged with killing a cop in Maine.