Hi Kenny,
If you are asking if someone, whose lack of ability to speak affects their intelligence, the answer is no. Here is why, if a person is born mute, they may not be able to verbally communicate with us, however they are still able to hear, read, and write like us. Or, they can use sign language, which in itself is a language with syntax, context, etc.
The same thing goes for someone who might have selective mutism, as they are able to speak but choose not to because they may have anxiety and could fear being shamed, ostracized, or punished. They might have a social anxiety disorder, however that does not mean they lack intelligence.
All in all, intelligence is not defined by what is "normal" in society—which, in our case, is defined by what we hear or see. The same thing goes with people who are blind and deaf, they might not have those senses, but they have learned to navigate the world in their own way. Intelligence comes with learning, error, and adapting.
I hope I was helpful to you.