it is an update you need to do and not insert.
$table_data = array(
"user_id" => $_POST["id"],
"name" => $_POST["nama"],
"status" => $_POST["user_status"]
);
$db->where("user_status",'1');
$bool = $db->update("tb_name", $table_data);}
But if mean that you wan to check user_status from post the you can use an if statement.
$table_data = array(
"user_id" => $_POST["id"],
"name" => $_POST["nama"],
"status" => $_POST["user_status"]
);
if($_POST["user_status"] == '1') {
$bool = $db->insert("tb_name", $table_data);
}