find all connect 3 same boolean value