A jury has convicted a Saudi man accused of collecting chemicals and bomb-making materials in hopes of carrying out a terrorist attack.