Preheat your oven to 375°F (190°C). Roll out the pie crust and fit it into a 9-inch pie dish, pressing gently to remove air pockets. Place the crust in the fridge while preparing the filling to keep it cold and crisp.
Shuck the corn ears and cut the kernels off directly into a mixing bowl. Grate the zucchini using a box grater and squeeze out excess moisture with your hands or a clean towel, then add it to the bowl with corn.
In a separate bowl, whisk together the eggs, melted butter, and milk until well combined and slightly frothy. Season with salt and pepper, then pour this mixture over the corn and zucchini.
Gently fold the vegetable mixture into the custard until evenly coated, making sure not to crush the corn kernels.
Pour the filling into the prepared pie crust, spreading it out evenly with a spoon or spatula. Place the pie on a baking sheet to catch any overflow.
Bake in the preheated oven for about 40 minutes, or until the top is golden brown and the filling is set with a slight jiggle in the center.
Remove the pie from the oven and let it cool for a few minutes before slicing. The crust should be flaky and golden, while the filling is vibrant and slightly creamy.