Depends on the type of smartest you're talking about.
Book smart / educated would more than likely be Vegapunk. Franky's probably high up there as well at least in the field of engineering. Judge too.
Street smart / tactics would likely be Teach. Usopp is a strong contender in this field as well for despite lacking the ability to execute at a high strength he formulated a master plan to battle Luffy.