Both moves are beneficial exercises to include in your routine, but if toning the legs and glutes is your goal, one reigns supreme.
In a leg press, your torso and upper body is supported by the machine, and require less activation ... we can play with different foot positions on the platform to emphasise different muscle ...
“Just one single squat works a whole host of different muscle groups ... then I would recommend the machine-based leg press as a great place to start to build up your leg strength.