Log in to your Binance account and tap [Wallets] – [Margin]. For Cross Margin positions, simply tap [Close All] to close all your positions in your Cross Margin account. For Isolated Margin positions, tap on the pair you want to close, then tap [Close All].