How to make a twisted loop button hole and attach to the sweater.

What I would do is take a length of yarn and knot the end, pull the other end through the sweater and make a chained loop, like a crochet chain. Then pull the end through the last loop when it’s long enough and pull that end through the sweater to the WS and fasten it down.