Posts can be queried by meta values as defined in the codex. You should familiarize yourself with these before using this advanced functionality. When querying on checkbox values, sometimes you may have to use EXISTS or NOT EXISTS instead of 1 and 0. In some cases, unchecked values do not get stored in the database
Advanced Query by Meta Value