I define them as penalties. Infractions against the rules.
There are a number of things that can contribute to penalties. Stupidity is one thing that can, but usually stupid penalties are like what Hall did in Atlanta. He got hot headed and blew his cool and cost his team. We haven't had that.
Mental errors are not always stupidity. Perhaps a player is gassed, or overly amped because of a previous play, or the expectations of a coming play. I've been in the huddle when a guy has moved early and he has said, "sorry guys, I got a cramp." I've heard guys say they forgot the snap count because they listened to the audible. These guys were not stupid. They had a momentary lapse.
I don't know of a perfect individual. Someone who never makes a mistake. Certainly not in a football game where the other guy can make you make that mistake.
Stupid? Not on your life.