A Queens man who was seen at the Jewish Center of the Hamptons on Oct. 8 carrying an expandable baton was referred for psychiatric evaluation Friday after an appearance in East Hampton Town Justice Court. Two officials of the center who approached the man and asked what he wanted were told that he “was here to pray to the gods.” After-school activities were taking place on the grounds, and the two asked him leave.