If one isn't aware that they are acting immorally, are they actually guilty of anything? Throughout legal history (not just in our nation, but around the world) that answer has been "no," and I believe the concept is called "mens rea."
Mens rea - Wikipedia, the free encyclopedia
Put another way, can an animal be immoral? No, animals are blameless of all moral wrongdoing because they're not aware that anything they do is wrong.
Therefore, intelligence is not needed for morality. Intelligence simply imposes a higher burden of morality on us. Since we are aware of right and wrong, we are obligated to do what is right.