I don't believe that there is any built-in VI to do this. I would suggest just building a subVI. First, find the Max and Min values (there's a VI for this) in your X array. Then, starting at the minimum value, find each y element for that x element and take their average. Do this for each x element and you should get what you're looking for.
J.R. Allen