Doesn't physically turn off the internal microphone. I've found out the hard way: I have a headset with a hardware mic switch. If this switch is in the "off" position when headphones are put into the jack, the mic built into my mac still operates.
This is with a mid-2012 macbook model.