The tab is normally connected to the middle pin, which is usually the drain on a MOSFET.
Devices with isolated tabs do exist, but the tab is normally non-conductive and it will explicitly state it on the data sheet. If there's no mention of an isolated tab, on the data sheet, then assume the tab is connected to the drain.