There is a hadith that states Allah will judge us based on our level of intellect. If one had a higher intellectual capacity, Allah expects more from that person. Yes if a person did not use his intellectual capacity and deviated Allah will punish him for that.