Hero has always been smart just never applied himself before now, and Leo is just a kid, he might be smart as well but he's still very young, Jackson is a genius but sort of going through a lot of stress and not in the right mind right now hence why Hero comes off as smarter then them.