Classify
doesn't work when the targets are lists, so you need to encode the labels. However, there must be a nicer built-in way to do label encoding than this, but I can't find it:
n = 4;
t = Table[
r = RandomInteger[1, {n}];
d = Thread[
Range[n] -> Map[FromCharacterCode, Range[97, 97 + n - 1]]];
{r, (Flatten@Position[r, 1] /. d)}, {100}];
ut = Union[t[[All, 2]]];
en = Thread[ut -> Range[Length[ut]]];
de = Reverse /@ en;
x = t[[All, 1]];
y = t[[All, 2]] /. en;
c = Classify[x -> y];
Example:
In[2]:= c[{1, 0, 0, 1}] /. de
Out[2]= {"a", "d"}