Four men have been arrested over a terrorist plot to blow up a Jewish temple and fire missiles at US military planes.