Monster Manual:
Intelligence: Very
Also, most sources (not 1st ed though, but doesn't say they can't either) have variations of "Like ghouls, ghasts spoke whatever language they did in life."
Given even the low intelligence Ghouls are described as possessing a "terrible cunning", using speech such as in this case seems almost logical doesn't it? :P