匪 is composed of 匚(a container) and 非(not, wrong). 匚 is the picture of a container, which has the meaning of 非 depicts two spreading wings, both wings are pointing to opposite directions, which has the meaning of contrary or violation, when someone contains wrong in his mind, he is 匪.