What does ‘dimwit’ mean?

( n ) A stupid or foolish person. That dimwit thinks the Gettysburg Address is where Robert E. Lee lived.