Goldblum tends to play goofy characters, but he has never seemed stupid to me. I suspect he knew what he was doing.
No, in some interview he said that he knew he was pretty dumb, and that he considered himself fortunate that acting didn’t require him to do more than remember a few lines at a time.