In theory a great idea. In reality you get very little space to farm on. Imagine how you drive though the solar panels with an harvester which is as big as 6 rows are wide?
I mean you can shrink down the farming equipment, but farmers make more money not plastering their fields with solar.
If they use solar then they go full south orientation panels because then you don’t need to deal with anything on that field anymore.
Also after you install solar panels on a field with heavy equipment the soil is pressed and you will have a few years until you get the soil quality back up.
It depends on how you see environment safety.
Either you want to safe dieing species and biomes, or you want to safe somehow the global ecosystem that keeps us alive.
First is illusionary, second is apparently too expensive according to the industrial nations.
If you can place solar in the desert without killing food supply, then do it!
The USA will have a big problem producing food once the Mediterranean climate zone wander north.
Also a lot of USAs food production is supported by a big underwater reservoir that is very close to dry up…
However I never see that they adress this issue…