Database

[{"username":"John Smith","password":"123"}]

Query

db.collection.find({"username":{"$ne":"1"},"password":{"$ne":"1"}})

Result