The National Weather Service issued a flash flood warning for sections of Brooklyn, Queens and Nassau County Monday afternoon, with heavy rains of 1 to 2 inches expected until 1:30 p.m.