If we assume that brain waves do have (have to have) some effect, then it seems most likely that the effect is either beneficial or detrimental compared to the alternative of uncorrelated brain activity, and therefore is being selected for or against, and as the production of millions of years of evolution, it seems the logical conclusion is that there is some functional benefit to it. The alternative is that the functional effect is merely benign, neither beneficial or detrimental, but this intuitively seems less likely.