you're right, nerd was the incorrect word. dweeb, spaz, or dork would be more appropriate, since those terms can be applied to someone who acts like a nerd without actually having the intelligence of one.
United States