Testing your suggestion in MongoVue simply returns a syntax error. At least
a missing closing brace, and probably also wrong located double quotes...
I let you try.
So I'm still trying to guess (that's the right word) the syntax to find
duplicated values at location 0 of array a1.
Just something that I can paste in MongoVue as an aggregation pipeline.