The domestic equity indices closed marginally higher on Wednesday, extending gains for the second consecutive day. The benchmark Nifty index crossed the 24,200 mark amid cautious optimism.