Database

db={"something":[{"_id":"matching","amount":100000,"offers":[{"amount":99999},{"amount":100000}]},{"_id":"notMatching","amount":100000,"offers":[{"amount":99999}]}]}

Query

db.something.find({$expr:{$in:["$amount","$offers.amount"]}})

Result