In the beginning was the Gene. As originally envisaged genes were atomic (i.e. indivisible) and inherited independently. That means if gene 1 has alleles A and a, and gene 2 has alleles B and b, then the allele you inherit for gene 1 should not depend on the allele you inherit for gene 2. But this isn't true because in physical reality genes are linked to each other on chromosomes.
In the case of a single cross, this clearly isn't true. Consider following parents:
chromosome copy 1: ----A--------B-----
chromosome copy 2: ----A--------B-----
Chromosome copy 1: ----a--------b-----
Chromosome copy 2: ----A--------B-----
----A--------B----- or ----A--------B-----
Offspring from this cross will always inherit an A and a B from the mother, but 50% will inherit A and 50% a and 50% B and 50%b from the father.
Under independent inheritance, the genotypes AABB AaBB AABb and AaBb should be equally likely (you can do a punnet's square to check). But that isn't the case because the offspring either in inherits chromosome copy 1 or chormosome copy 2 from the father, so the only possible genotypes for the offspring are AABB (if the offspring inherits copy 2 from the father) and AaBb (if the offspring inherits copy 1 from the father). This is the phenomena of Linkage
All of this is assuming that recombination won't form a
------A-------b----- chromosome in the father. While this is unlikely to happen in one cross, over a population and across evolutionary time, the association of a with b and A with B will break down and you will get lots of
-----a------B---- chromosomes. when the probability of being hetrozyous at both loci is equal to the probability of being hetrozygous at gene 1 multiplied by the probability of being hetrozygous at gene 2, then the loci are said to be in linkage equilibrium.
If this is not that case, and the probability of having b rather than B at loci 1 depends on whether you have a rather than A at loci 2, then the loci are said to be in Linkage disequilibrium. At its extreme, for 2 loci in complete LD, if you tell me what the allele at loci 1 is, I can tell you what the allele at loci 2 is.
EDIT: after rereading the question.
What I've drawn above are haplotypes, not genotypes. In your question you write 0|1, which suggests your data is phased. Unphased data would normally be written 1/0. So if you phased genotypes are 0|1, 0|1, then your haplotypes are 00 and 11.
LD is a property of a population, not of a single individual, or even 2 individuals -you can only calculate LD if you have the genotypes of a large population. However, Linkage is not the same as linkage disequilibrium, and you can calculate Linkage from a collection of parents and their offspring (how often do you see a haplotype in the offspring that is not present in the parents). But no on really calculates linkage any more since genome sequences made genetic mapping unnecessary.