Database

[{"_id":4},{"_id":2},{"_id":6}]

Query

db.collection.aggregate([{$match:{$expr:{$in:["$_id",[4,6]]}}}])

Result