If an array field is sorted, how to let MongoDB know to use a binary search during an $in operation?

{
   A: "array"
}

Let’s suppose that the $in operation is used on A after the first aggregation stage or inside of a pipeline of a $lookup, in other words where indexes cannot be used, but A is always sorted, how to let MongoDB know that it can perform a binary search instead of scanning the array?