I think when you take into consideration practicality and comfort recumbents win for aerodynamics. Otherwise you need to get into fairings and velomobiles which gets expensive and sometimes silly. But then you still need the upright for hilly terrain or rough terrain

.
The moral is that there's not a single ideal engineering solution for human powered wheeled locomotion.