One cliche is "smart as a whip".