BEIRUT, JUNE 26 -- Two senior officials of a pro-Iranian Shiite Moslem guerrilla group are in Iran to "testify" against American hostages reportedly moved there from Lebanon, the weekly magazine Ash Shiraa reported today.

It also said Shiite militants kidnaped U.S. journalist Charles Glass on June 17 because he knew too much about the hijackers who killed a U.S. Navy diver aboard a Trans World Airlines passenger jet in Beirut in 1985.

Ash Shiraa has contacts among militant Moslem groups in Iran and first reported secret U.S. arms sales to Iran last November.

The magazine said Mohammed Maghniyeh and Abdul Hadi Hamadei, security chiefs of the Shiite Hezbollah (Party of God) militia, had gone to Tehran "to testify in the case of some American hostages" who have been moved from Beirut to Iran. It said the two "are believed to have engineered the TWA hijacking."

Hamadei is the brother of Mohammed Ali Hamadei, a Lebanese Shiite arrested in West Germany this year who is facing charges of air piracy and murder in the hijacking.

Glass, 36, of Los Angeles, covered the 17-day TWA hijacking for ABC television. Fourteen gunmen kidnaped Glass, along with Ali Osseiran, son of Lebanese Defense Minister Adel Osseiran, and Osseiran's driver on June 17. On Wednesday, Osseiran and his driver were released, but Glass remains in captivity.

Beirut's independent An Nahar daily said Syria, the major power broker in Beirut, knows who holds Glass and where they are holding him. Sources close to the Syrian military command in Beirut, who demanded anonymity, said Syria was poised to crack down on Hezbollah, which has denied involvement in the kidnaping.

Glass was the first foreigner kidnaped in Moslem-controlled west Beirut since about 7,500 Syrian troops were deployed there Feb. 22 to end three years of war among Moslem militias. He was the ninth American and 25th foreigner held hostage in Lebanon.