A red flag means that swimming is dangerous and a black flag means that no swimming is allowed.
When the black flag is flying swimming is not permitted. 
mnli hypothesis: When the black flag is flying swimming is not permitted.  premise: A red flag means that swimming is dangerous and a black flag means that no swimming is allowed.