Header file functions/logical.hpp