As shown in this $geoNear documentation, the near field is described as the point for which to find the closest documents. If using a 2dsphere index, you can specify the point as either a GeoJSON point or legacy coordinate pair. If using a 2d index, specify the point as a legacy coordinate pair. The correct syntax to add coordinates in near filed is
near: { type: “Point”, coordinates: [ X , Y ] }
where X and Y are coordinates
I think that you are confusing this with accessing the objects of array and that is a different operation.