A lifeguard flag with both red and yellow indicates a non-swimming area. It is a warning to swimmers that they should not enter the water in this area.