References about a boolean function involving hamming weight
It is the hidden weighted bit function. There is more than one paper related to cryptographic applications of this function, but the full definition may be found, for example, in Chapter 3 of this paper:
Cryptographic properties of the hidden weighted bit function